import React, {Component} from 'react'

import Nav from '../components/nav'
import Dashboard from '../components/dashboard'

export default class App extends Component{
    render(){
        return (
            <div>
                <div>
                    <Nav/>
                </div>
                <div>
                    {this.props.children || <Dashboard />}
                </div>
            </div>
        )
    }
}